package com.aabbc.order.facade;

import com.aabbc.order.entity.OrderInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * IOrderInfoFacade
 *
 * @author: <a href="mailto:chenfenghai@oristartech.com">chenfenghai</a>
 * @version: 1.0
 * @date: 2019-11-04 13:58
 */
@FeignClient("order-service")
public interface IOrderInfoFacade {

    @GetMapping("orderInfo/list")
    List<OrderInfo> queryOrderInfoList();
}
